# 写一个程序判断输入的正整数是不是回文素数
from palindrome import is_palindrome as pa
from judge_prime import is_prime as pr


if __name__ == "__main__":
    num = int(input("请输入正整数："))
    if pa(num) and pr(num):
        print("%d是回文素数" % num)